Skip to content

Adopt File-scoped namespaces#3331

Merged
martincostello merged 12 commits intomasterfrom
file-scoped-namespaces
Mar 21, 2025
Merged

Adopt File-scoped namespaces#3331
martincostello merged 12 commits intomasterfrom
file-scoped-namespaces

Conversation

@martincostello
Copy link
Copy Markdown
Collaborator

@martincostello martincostello commented Mar 21, 2025

While working on #3283 the IDE was marking lots of suggestions to modernise the codebase.

Rather than ignore it, or make such changes part of the .NET 10 adoption, instead just go through everything now and spruce it up.

This PR adopts file-scoped namespaces for all of the code files, and also simplifies the #if ... pre-processor directives.

Post-merge there will be a PR to add the squashed commit to .git-blame-ignore-revs. #3332

PR commits are grouped in chunks for easier review if anyone wants to.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants